// commandRegister.h: interface for the CommandRegister class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMMANDREGISTER_H__48FC0636_6B3E_408A_99DB_544517ED4E98__INCLUDED_)
#define AFX_COMMANDREGISTER_H__48FC0636_6B3E_408A_99DB_544517ED4E98__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CommandRegister  
{
	struct Command{
		TCHAR szName[256];
		TCHAR szGlobalName[256];
		void (*CommandProc)();
	};

public:
	CommandRegister();
	virtual ~CommandRegister();

public:
	static void Register();
	static void UnRegister();

private:
	static Command m_commands[];
};

#endif // !defined(AFX_COMMANDREGISTER_H__48FC0636_6B3E_408A_99DB_544517ED4E98__INCLUDED_)
